package top.xiaoazi.futureletterserver.module.verifycode.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.xiaoazi.futureletterserver.module.verifycode.entity.VerifyCode;
import top.xiaoazi.futureletterserver.module.verifycode.vo.VerifyCodeVO;

import java.util.List;

@Mapper
public interface VerifyCodeMapper {
    int add(VerifyCode verifyCode);

    VerifyCode getById(Integer id);

    int update(VerifyCode verifyCode);

    int del(VerifyCode verifyCode);

    List<VerifyCode> getList();

    List<VerifyCodeVO> getListVO();

    VerifyCode getVerifyCode(Integer id);
}
